import request from '@/utils/back-request';

// 新增/取消收藏
export function collectJob(data) {
  return request({
    url: '/api-career/campus/collect',
    method: 'post',
    data
  });
}
// 收藏岗位列表
export function getCollectionJobs(data) {
  return request({
    url: '/api-career/campus/collect/jobs',
    method: 'post',
    data
  });
}
// 收藏企业列表
export function getCollectionCompany(data) {
  return request({
    url: '/api-career/campus/collect/companys',
    method: 'post',
    data
  });
}
// 企业福利/详情/招聘要求
export function employeeBenefits(data) {
  return request({
    url: '/api-career/zt/webservice/result',
    method: 'post',
    data
  });
}
//获取在线简历内容
export function resumeGetPreview(data) {
  return request({
    url: '/api-career/resume/get/preview',
    method: 'post',
    data
  });
}
//一个通用接口，调用的具体php方法写在参数里
export function resumeGeneralInterface(data) {
  return request({
    url: '/api-career/zt/webservice/result',
    method: 'post',
    data
  });
}
//岗位推荐
export function recommendJobList(data) {
  return request({
    url: '/api-career/campus/job/recommend',
    method: 'post',
    data
  });
}
//岗位推荐
export function burryPoint(data) {
  return request({
    url: '/api-career/statistics/burry',
    method: 'post',
    data
  });
}
//获取企业招聘数量(招聘人员)
export function getRecruit(data) {
  return request({
    url: '/api-career/campus/company/recruit',
    method: 'post',
    data
  });
}
//获取企业详情(招聘人员)
export function getCompanyInfo(data) {
  return request({
    url: '/api-career/campus/company/info',
    method: 'post',
    data
  });
}
//校招岗位-企业招聘岗位
export function getCompanyJobs(data) {
  return request({
    url: '/api-career/campus/company/jobs',
    method: 'post',
    data
  });
}
//职业机会-招聘岗位
export function getCompanyCareerJobs(data) {
  return request({
    url: '/api-career/campus/company/career/jobs',
    method: 'post',
    data
  });
}
